package kuoge.practice.kafka.stream.member.activity.conversionrate;

/**
 * @Description
 */
public class ItemConversionRateEvent {
    private final double conversionRate;
    private final long visitCount;
    private final long purchaseCount;
    private final long timestamp;

    public ItemConversionRateEvent(double conversionRate, long visitCount, long purchaseCount, long timestamp) {
        this.conversionRate = conversionRate;
        this.visitCount = visitCount;
        this.purchaseCount = purchaseCount;
        this.timestamp = timestamp;
    }

    public double getConversionRate() {
        return conversionRate;
    }

    public long getVisitCount() {
        return visitCount;
    }

    public long getPurchaseCount() {
        return purchaseCount;
    }

    public long getTimestamp() {
        return timestamp;
    }
}
